/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.iscmoh.ebdrl.java.persistence.dao.jpa;

import java.util.List;
import org.iscmoh.ebdrl.java.model.core.Licao;

/**
 *
 * @author Isaac
 */
public class LicaoDAO extends JPADAO<Licao> {
    private final Class CLASSE = Licao.class;

    public LicaoDAO(String unidade){
        super(unidade);
    }

    public Licao find(Licao l){
        return super.find(CLASSE, l.getId());
    }

    public List<Licao> findAll(){
        return super.findAll(CLASSE);
    }

}
